// samsting : this file is auto create.

#include "Ons/2015-10-20/OnsWarnCreateRequest.h"

namespace aliyun { namespace Ons {

OnsWarnCreateRequest::OnsWarnCreateRequest() : RpcAcsRequest("Ons", "2015-10-20", "OnsWarnCreate") {
}

const string& OnsWarnCreateRequest::GetOnsRegionId(void) const {
  return OnsRegionId_;
}
void OnsWarnCreateRequest::SetOnsRegionId(const string& OnsRegionId) {
  OnsRegionId_ = OnsRegionId;
  PutQueryParameter("OnsRegionId", OnsRegionId_);
}

const string& OnsWarnCreateRequest::GetOnsPlatform(void) const {
  return OnsPlatform_;
}
void OnsWarnCreateRequest::SetOnsPlatform(const string& OnsPlatform) {
  OnsPlatform_ = OnsPlatform;
  PutQueryParameter("OnsPlatform", OnsPlatform_);
}

int64 OnsWarnCreateRequest::GetPreventCache(void) const {
  return PreventCache_;
}
void OnsWarnCreateRequest::SetPreventCache(int64 PreventCache) {
  PreventCache_ = PreventCache;
  PutQueryParameter("PreventCache", string_ValueOfInt64(PreventCache_));
}

const string& OnsWarnCreateRequest::GetConsumerId(void) const {
  return ConsumerId_;
}
void OnsWarnCreateRequest::SetConsumerId(const string& ConsumerId) {
  ConsumerId_ = ConsumerId;
  PutQueryParameter("ConsumerId", ConsumerId_);
}

const string& OnsWarnCreateRequest::GetTopic(void) const {
  return Topic_;
}
void OnsWarnCreateRequest::SetTopic(const string& Topic) {
  Topic_ = Topic;
  PutQueryParameter("Topic", Topic_);
}

const string& OnsWarnCreateRequest::GetThreshold(void) const {
  return Threshold_;
}
void OnsWarnCreateRequest::SetThreshold(const string& Threshold) {
  Threshold_ = Threshold;
  PutQueryParameter("Threshold", Threshold_);
}

const string& OnsWarnCreateRequest::GetContacts(void) const {
  return Contacts_;
}
void OnsWarnCreateRequest::SetContacts(const string& Contacts) {
  Contacts_ = Contacts;
  PutQueryParameter("Contacts", Contacts_);
}


} } // namespace aliyun { namespace Ons {

// end of file 
